<html>
    <head>
        <title>{{title}}</title>
    </head>

    <body>
        <h1>Welcome to {{ title }} </h1>
        <p> Current time is {% now "F J H:i" %}</p>
        {% for m in msg_list %}
        <p> {{m.user}} ({{m.timestamp}}): {{m.message|escaple}}</p>
        {% endfor %}
        <form action = "/talk" method = "post">
            <p><b>Message</b></p>
            <div><textarea name = "message" rows = "5" cols = "60"></textarea></div>
            <div><input name = "submit" value = "Send"></input></div>
        </form>
    <body>
</html>

